package com.yonyougov.devops.cruxcisupport.enums;

import lombok.Getter;

/**
 * 提测类型
 */
@Getter
public enum TestTypeEnum implements BaseEnum {
    BUG("bug", 0), FUNCTION("功能", 1), OPTIMIZE("优化", 2);


    private String value;
    private int code;

    TestTypeEnum(String value, int code) {
        this.value = value;
        this.code = code;
    }

    @Override
    public boolean equals(Integer code) {
        return code.equals(this.code);
    }
}
